package com.jiepu.exercise.advanceed.chapter1.test3;

import com.jiepu.exercise.advanceed.chapter1.test3.inter.Door;
import com.jiepu.exercise.advanceed.chapter1.test3.inter.Lock;

/**
 * @Description: 抽屉
 * @author: xinjie.txt
 * @date: 2020/7/14  11:53
 */
public class Drawer implements Door, Lock {
	@Override
	public void open() {
		System.out.println("打开抽屉....");
	}

	@Override
	public void close() {
		System.out.println("关闭抽屉....");
	}

	@Override
	public void lock() {
		System.out.println("抽屉上锁....");
	}

	@Override
	public void unlock() {
		System.out.println("抽屉开锁....");
	}
}
